﻿@model UserGroupWeb.Models.SponsorFormModel
@Html.ValidationSummary(true)
<fieldset>
    <legend>Details</legend>
    <div>
        @Html.LabelFor(model => model.Sponsor.SponsorName)
        @Html.EditorFor(model => model.Sponsor.SponsorName)
        @Html.ValidationMessageFor(model => model.Sponsor.SponsorName)
    </div>
    <div>
        @Html.LabelFor(model => model.Sponsor.PrimaryContactName)
        @Html.EditorFor(model => model.Sponsor.PrimaryContactName)
        @Html.ValidationMessageFor(model => model.Sponsor.PrimaryContactName)
    </div>
    <div>
        @Html.LabelFor(model => model.Sponsor.PrimaryContactEmail)
        @Html.EditorFor(model => model.Sponsor.PrimaryContactEmail)
        @Html.ValidationMessageFor(model => model.Sponsor.PrimaryContactEmail)
    </div>
    <div>
        @Html.LabelFor(model => model.Sponsor.SecondaryContactName)
        @Html.EditorFor(model => model.Sponsor.SecondaryContactName)
        @Html.ValidationMessageFor(model => model.Sponsor.SecondaryContactName)
    </div>
    <div>
        @Html.LabelFor(model => model.Sponsor.SecondaryContactEmail)
        @Html.EditorFor(model => model.Sponsor.SecondaryContactEmail)
        @Html.ValidationMessageFor(model => model.Sponsor.SecondaryContactEmail)
    </div>
    <div>
        @Html.LabelFor(model => model.Sponsor.StreetAddress)
        @Html.EditorFor(model => model.Sponsor.StreetAddress)
        @Html.ValidationMessageFor(model => model.Sponsor.StreetAddress)
    </div>
    <div>
        @Html.LabelFor(model => model.Sponsor.City)
        @Html.EditorFor(model => model.Sponsor.City)
        @Html.ValidationMessageFor(model => model.Sponsor.City)
    </div>
    <div>
        @Html.LabelFor(model => model.Sponsor.State)
        @Html.EditorFor(model => model.Sponsor.State)
        @Html.ValidationMessageFor(model => model.Sponsor.State)
    </div>
    <div>
        @Html.LabelFor(model => model.Sponsor.PostalCode)
        @Html.EditorFor(model => model.Sponsor.PostalCode)
        @Html.ValidationMessageFor(model => model.Sponsor.PostalCode)
    </div>
    <div>
        @Html.LabelFor(model => model.Sponsor.Url)
        @Html.EditorFor(model => model.Sponsor.Url)
        @Html.ValidationMessageFor(model => model.Sponsor.Url)
    </div>
    <p>
        <input type="submit" value="Save" />
    </p>
</fieldset>
